export const addParams = (url: string, param: string) => {
    if (url.includes('?')) {
        url = url + '&' + param
    } else {
        url = url + '?' + param
    }
    return url
}